package p.ithorns.framework.xxljob;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * AppConf
 *
 * @author Ht.L
 * @date 2024-03-07 17:35
 * @since 1.0.0
 */
//@RefreshScope
@ConfigurationProperties(prefix = "app")
public class AppConf {

    /**
     * app-id
     */
    private Long id;
    /**
     * app-secret
     */
    private String secret;
    /**
     * 租户ID
     */
    private Long tenant;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public Long getTenant() {
        return tenant;
    }

    public void setTenant(Long tenant) {
        this.tenant = tenant;
    }
}